const name = "coderwhy";
const age = 18;
const sayHello = function (name) {
  console.log("你好" + name);
};

// 导出方式1
// export const name = "coderwhy";
// export const age = 18;
// export const sayHello = function (name) {
//   console.log("你好" + name);
// };

// 导出方式2
// {}大括号，不是对象
export { name, age, sayHello };

export default function () {
  console.log("对某一个东西进行格式化");
}

// 导出方式3
// export {
//   name as fName,
//   age as fAge,
//   sayHello as fSayHello,
// };
